/*
 *    Copyright (c) 2018-2025, proj All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the proj developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: proj
 */

package com.ykht.proj.coupon.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.math.BigDecimal;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 转发记录表
 *
 * @author proj code generator
 * @date 2021-02-01 19:00:17
 */
@Data
@TableName("fx_forward")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "转发记录表")
public class FxForward extends Model<FxForward> {
private static final long serialVersionUID = 1L;

    /**
     * 
     */
    @TableId
    @ApiModelProperty(value="")
    private Long id;
    /**
	 转发类型 1海报 2小程序卡片
     */
    @ApiModelProperty(value="转发类型 1海报 2小程序卡片 3文章")
    private Integer forwardType;
	/**
	 * 转发标题
	 */
	@ApiModelProperty(value="转发标题")
	private String forwardTitle;
	/**
	 * 任务类型：0注册1转发2核销
	 */
		@ApiModelProperty(value="任务类型：0注册1转发2核销")
	private Integer taskType;
    /**
     * 服务员id
     */
    @ApiModelProperty(value="服务员id")
    private Long waiterId;
    /**
     * 文章id
     */
    @ApiModelProperty(value="文章id")
    private Long articleId;
    /**
     * 转发配置-优惠券:0添加1不添加
     */
    @ApiModelProperty(value="转发配置-优惠券:0添加1不添加")
    private Integer addCouponFlag;
    /**
     * 海报id
     */
    @ApiModelProperty(value="海报id")
    private Long posterId;
    /**
     * 海报url
     */
    @ApiModelProperty(value="海报url")
    private String posterUrl;
    /**
     * 金额
     */
    @ApiModelProperty(value="金额")
    private BigDecimal forwardMoney;
    /**
     * 创建人
     */
    @ApiModelProperty(value="创建人")
    private Long createUser;
    /**
     * 修改人
     */
    @ApiModelProperty(value="修改人")
    private Long updateUser;
    /**
     * 创建时间
     */
    @ApiModelProperty(value="创建时间")
    private LocalDateTime createTime;
    /**
     * 更新时间
     */
    @ApiModelProperty(value="更新时间")
    private LocalDateTime updateTime;
    /**
     * 0可用1删除
     */
    @ApiModelProperty(value="0可用1删除")
	@TableLogic
    private Integer delFlag;
    /**
     * 租户ID
     */
    @ApiModelProperty(value="租户ID",hidden=true)
    private Integer tenantId;
    }
